#ifndef __IIC_H
#define __IIC_H
#include "sys.h"




#define  ACK   0
#define NOACK  1




u8 IIC_WritByte(u8 SloveAddr,  const u16 RegAddr,  u8 Data); 
u8 IIC_ReadByte(u8 SloveAddr,  const u16 RegAddr , u8* ReadData );
u8 IIC_WritByteMore(u8 SloveAddr,  const u16 RegAddr,  u8 *DataSend, u8 Long );
u8 IIC_ReadByteMore(u8 SloveAddr, const u16 RegAddr,u8 *DataRece, u8 Long );

#endif









